import torch
# 指定.pt文件路径
file_path = "AI-classfication\standard_embeddings.pt"
 
# 加载.pt文件中的字典数据
data = torch.load(file_path)
#遍历key值(遍历故障类名称)
for name in data.keys():
    print(name)
    #访问故障描述的embedding
    print(data[name][0].shape)